<?php

namespace App\Http\Controllers;
use DB;
use Illuminate\Http\Request;
use App\Http\Requests;
use App\Http\Controllers\Controller;

class SoughtController extends Controller
{
    /**
     *咨询的前台显示
     */
    public function getList()
    {
        $article = DB::table('article')->paginate(5);
        $lianjie = IndexController::listss();
        // 分配变量  
        // dd($article);
        return view('sought.sought',['article'=>$article,'lianjie'=>$lianjie]);
    }

}